package com.futureweaver.service.impl;

import com.futureweaver.domain.Drug;
import com.futureweaver.mapper.DrugMapper;
import com.futureweaver.service.DrugService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DrugServiceImpl implements DrugService {
    @Autowired
    private DrugMapper mapper;

    @Override
    public List<Drug> query(Drug drug) {
        return mapper.query(drug);
    }
}
